package cn.lyd.pet.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 发布寻主 dto
 */
@Data
public class SearchMasterMsgDto {


   @NotBlank
   private String name;

   @NotNull
   private BigDecimal price;

   @NotNull
   private Integer age;

   @NotNull
   private Integer gender;

   @NotBlank
   private String coat_color;

   @NotBlank
   private String resources;

   @NotNull
   private Long pet_type;

   @NotBlank
   private String address;

   @NotBlank
   private String title;
}
